<?php

namespace App;

// 底层mysql更改hall_id
class Application extends \Laravel\Lumen\Application
{
    protected function registerDatabaseBindings()
    {
        $this->singleton('db', function () {
            return $this->loadComponent(
                'database',
                [
                    'App\Providers\Hall\HallDatabaseServiceProvider',
                    'Illuminate\Pagination\PaginationServiceProvider',
                ],
                'db'
            );
        });
    }
}
